# @Version : 1.0
# @Author  : 刘宇
# @File    : 16_tuple_exercise.py
# @Time    : 2025/10/13 10:49

tuple_a = ('大话西游','周星驰',80,['周星驰','小甜甜'])
print("票价的索引是:",tuple_a.index(80))

for ele  in tuple_a[3]:
    print(f"演员的名字是：{ele}")

del tuple_a[3][1]
print(f"tuple_a 内容是{tuple_a}")

tuple_a[3].append('牛魔王')
tuple_a[3].append('猪八戒')
print(f"tuple_a 内容是:{tuple_a}")


